/*
 * Tile.h
 *
 *  Created on: 05-02-2012
 *      Author: glu
 */

#ifndef TILE_H_
#define TILE_H_

#include "precompile.h"

enum GroundType{
	sand, rock, grass, water
};

class Tile {
private:
	bool in_range;
	bool active;
	int x, y;
	GroundType groundType;
public:
	Tile();
	Tile(int x, int y);
	bool getInRange();
	void setInRange(bool new_value);
	bool getActive();
	void setActive(bool new_value);
	bool containMouse(int x_mouse, int y_mouse);
	SDL_Rect getBounds();
	void setGroundType(GroundType t);
	GroundType getGroundType();
};

#endif /* TILE_H_ */
